<template>
    <div class="leftmid">
        <div class="spe">TA的专栏</div>
        <div v-for="(item,i) in column" :key="i" class="column">
            <img :src="item.src" alt="">
            <span class="first">{{item.title}}</span>
            <span class="second">{{item.count}}篇</span>
        </div>
    </div>
</template>

<script>
export default {
    props:{
        column:[],
    },
}
</script>

<style scoped>
.leftmid {
    background: #fff;
    margin-top: 30px;
    box-sizing: border-box;
}

.spe {
    text-align: left;
    padding-left: 30px;
    font-size: 20px;
    font-weight: 700;
    line-height: 45px;
    border-bottom: 1px solid rgb(233, 233, 238);
}
.column{
    margin-top: 15px;
    text-align: left;
    margin-left: 55px;
    font-size: 15px;
    position: relative;
    color: rgb(165, 166, 180);
    cursor: pointer;
}

.column>img{
    width: 20px;
    height: 20px;
    margin-right: 10px;
}
.column>span{
    position: absolute;
}
.second{
    position: absolute;
    right: 20px;
}
</style>